package com.example.demo.Repository;

import com.example.demo.entity.Song;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SongRepository extends ElasticsearchRepository<Song,String > {
    List<Song> findByName(String name);
}
